import { Pipe, PipeTransform } from '@angular/core'


@Pipe({
  name: 'date'
})
export class Date implements PipeTransform {
  	transform(value: string, ...args): string {
  		return value.substring(4,6)+'-'+value.substring(6,8)+' '+value.substring(8,10)+':'+value.substring(10,12);
  	}
}

